(display_mode_line): Preserve match data.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 17 Jul 2006 07:46:05 +0000 (07:46 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 17 Jul 2006 07:46:05 +0000 (07:46 +0000)
src/xdisp.c

index d37f142e604b37d77b4fe7da8dcba39c77094dc4..9c6c18df435c745e7166c0e319725a0428160857 100644 (file)
@@ -16542,6 +16542,7 @@ display_mode_line (w, face_id, format)
      kboard-local variables in the mode_line_format will get the right
      values.  */
   push_frame_kboard (it.f);
+  record_unwind_save_match_data ();
   display_mode_element (&it, 0, 0, 0, format, Qnil, 0);
   pop_frame_kboard ();